Beginning Perl Programming by William “Bo” Rothwell

Beginning Perl Programming by William “Bo” Rothwell

Author:William “Bo” Rothwell
Language: eng
Format: epub
ISBN: 9781484250556
Publisher: Apress


File Test Conditions

File testing is the process of determining the “status” of a file. The most common file tests are listed here.File test

Meaning

-r

Returns “true” if the file is readable by the user who is running the Perl script

-w

Returns “true” if the file is writeable by the user

-x

Returns “true” if the file is executable by the user

-o

Returns “true” if the file is owned by the user

-e

Returns “true” if the file exists

-z

Returns “true” if the file exists and is empty



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.